package com.example.service;

import com.example.entity.User;

import java.util.List;

public interface UserService {

    /**
     * 用户注册
     *
     * @param user
     * @return 是否注册成功
     */
    boolean saveUser(User user);

    User getUserByIdByPass(User user);

    List<User> listAllUsers();
}

